#include <qglgraphicsviewer.h>

class Viewer : public QGLGraphicsViewer
{
protected :
  virtual void draw();
  virtual void postDraw();
  virtual void init();
  virtual QString helpString() const;
  virtual void keyPressEvent(QKeyEvent *e);

  void drawThumbnail();
  void drawSpiral(bool thumb);

private :
  bool thumbnail_;
};
